package com.wpt.main.component
{
	import spark.components.Label;

	public class AdvLabelItemRenderer extends Label
	{
		public function AdvLabelItemRenderer()
		{
			super();
		}
		override public function validateProperties():void{
			super.validateProperties();
			if (listData){				
				var dg:AdvancedDataGrid = AdvancedDataGrid(listData.owner);	
				var column:AdvCheckBoxHeaderColumn = dg.columns[listData.columnIndex];
				text = data[column.dataField];
			}
		}
		override protected function clickHandler(event:MouseEvent):void
		{
			super.clickHandler(event);
			if (listData){				
				
			}			
		}	
	}
}